import request from '/@/utils/request';
const headers = {
	onlyData: true,
};
//专家评价列表
export const searchEvaluatedList = (params: any) => {
	return request({
		url: `/manage/eiReviewExtract/searchEvaluatedList`,
		method: 'get',
		params,
	});
};

//专家评价
export const doEvaluate = (data: any) => {
	return request({
		url: `/manage/eiReviewExtract/doEvaluate`,
		method: 'post',
		data,
	});
};

//应用评审意见列表
export const searchReviewAppPage = (params: any) => {
	return request({
		url: `/manage/eiReviewApp/searchReviewAppPage`,
		method: 'get',
		params,
	});
};
//应用评审意见详情
export const getReviewAppDetail = (params: any) => {
	return request({
		url: `/manage/eiReviewApp/getReviewAppDetail`,
		method: 'get',
		params,
	});
};

//修改评审意见
export const updateReviewComments = (data: any) => {
	return request({
		url: `/manage/eiReviewApp/updateReviewComments`,
		method: 'post',
		data,
	});
};
